package Main_logic;

public class Bookshelves {
    private Book[] books;
    private int count = 0;

    public Bookshelves() {
        books = new Book[10];

    }
    void setBooks(Book book) {//记录下书
        books[count++] = book;
    }

}
